home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / ACORNUSERS / EMULATOR / V2600 / !v2600 / h / extern < prev    next >
Text File  |  1997-03-25  |  1KB  |  60 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: extern.h,v 1.3 1996/04/01 14:51:50 alex Exp $
  14. ******************************************************************************/
  15.  
  16. /* 
  17.    Defines the external variables needed by most hardware access code.
  18.    */
  19.  
  20. #ifndef VCSEXTERN_H
  21. #define VCSEXTERN_H
  22.  
  23.  
  24. #include "types.h"    /* for BYTE, ADDRESS, etc. types and structures */
  25.  
  26. extern int   clength[];
  27.  
  28. /* Processor registers */
  29. extern BYTE  accumulator;
  30. extern BYTE  x_register;
  31. extern BYTE  y_register;
  32. extern BYTE  stack_pointer;
  33. extern BYTE  status_register;
  34. extern ADDRESS program_counter;
  35. extern CLOCK clk;
  36.  
  37. /* Processor flags */
  38. extern int   zero_flag;
  39. extern int   sign_flag;
  40. extern int   overflow_flag;
  41. extern int   break_flag;
  42. extern int   decimal_flag;
  43. extern int   interrupt_flag;
  44. extern int   carry_flag;
  45.  
  46. /* Debugging */
  47. extern int   hexflg;
  48. extern int   verflg;
  49. extern int   traceflg;
  50. extern int   debugflg;
  51. extern int   runflg;
  52.  
  53. #endif
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.